package com.dky.satell.entity.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;


/**
 * @author fangyuan
 * @since 2021-05-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "schema")
@XmlAccessorType(XmlAccessType.FIELD)
public class FileSchema {

    @XmlElement(name = "type")
    private Integer type;

    @XmlElement(name = "region")
    private String region;

    @XmlElement(name = "fileName")
    private String fileName;

    @XmlElement(name = "name")
    private String name;

    @XmlElement(name = "describes")
    private String describes;

    @XmlElement(name = "issueName")
    private String issueName;

    @XmlElement(name = "issueMail")
    private String issueMail;

    @XmlElement(name = "issueIphone")
    private String issueIphone;

    @XmlElement(name = "issueOrganization")
    private String issueOrganization;

    @XmlElement(name = "business")
    private String business;

    @XmlElement(name = "tarDatabase")
    private String tarDatabase;

    @XmlElement(name = "tarTable")
    private String tarTable;

    @XmlElement(name = "tarTableSchema")
    private String tarTableSchema;

    @XmlElement(name = "fields")
    private Fields fields;
}
